package com.ktjiaoyu.server.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjiaoyu.server.mapper.LeavebillMapper;
import com.ktjiaoyu.server.pojo.Leavebill;
import com.ktjiaoyu.server.service.ILeavebillService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jjx
 * @since 2024-03-23
 */
@Service
public class LeavebillServiceImpl extends ServiceImpl<LeavebillMapper, Leavebill> implements ILeavebillService {
    @Resource
    LeavebillMapper leavebillMapper;
    @Override
    public IPage<Leavebill> getLeaveBillListPage(Page<Leavebill> page, String title, String content, String sort, String beginTime, String endTime, Integer userId) {
        return leavebillMapper.getLeaveBillListPage(page,title,content,sort,beginTime,endTime,userId);
    }
}
